package com.gimi.cloud.bbp.manage.consumer.service.mall;

import com.gimi.cloud.bbp.common.utils.reqhead.Response;
import com.gimi.cloud.bbp.dto.mall.MallAppRecommentGroupDTO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * app推送组相关Service
 * @author chendi
 * @date 2018年2月1日
 */
public interface MallRecommentGroupService {

    /**
     * 获取推送组分页列表
     * @param request
     * @param response
     * @param dto
     * @throws Exception
     */
    Response getRecommentGroupList(HttpServletRequest request, HttpServletResponse response, MallAppRecommentGroupDTO dto) throws  Exception;

    /**
     * 获取
     * @param request
     * @param response
     * @param dto
     * @throws Exception
     */
    Response getRecommentGroupInfo(HttpServletRequest request,HttpServletResponse response,MallAppRecommentGroupDTO dto) throws  Exception;

    /**
     * 添加推送组信息
     * @param request
     * @param response
     * @param dto 待添加的Banner组
     * @throws Exception
     */
    Response addRecommentGroup(HttpServletRequest request,HttpServletResponse response,MallAppRecommentGroupDTO dto) throws  Exception;

    /**
     * 编辑推送组信息
     * @param request
     * @param response
     * @param dto 待编辑的数据
     * @throws Exception
     */
    Response editRecommentGroup(HttpServletRequest request,HttpServletResponse response,MallAppRecommentGroupDTO dto) throws  Exception;

    /**
     * 删除推送组数据
     * @param request
     * @param response
     * @param dto 待删除的推送组数据
     * @throws Exception
     */
    Response deleteRecommentGroup(HttpServletRequest request,HttpServletResponse response,MallAppRecommentGroupDTO dto) throws  Exception;


}
